#!python
#
# Settings for code generation using pyste.
#
do_full = False


# List of types to generate for the SF and MF vector
# types.  MFVec3 and MFVec4
if do_full:
   SF_MF_Vec_Types = ['ub', 'b', 'us', 's', 'f', 'd', 'ld']
else:
   SF_MF_Vec_Types = ['f']
   
# List of types to generate for the SF and MF pnt types
#  MFPnt3 and MFPnt4
if do_full:
   SF_MF_Pnt_Types = ['ub', 'b', 'us', 's', 'f', 'd', 'ld']
else:
   SF_MF_Pnt_Types = ['f']

# List of types for Vec types
if do_full:
   Vec_types = { 'osg::UInt8' : 'ub',
             'osg::Int8' : 'b',
             'osg::UInt16' : 'us',
             'osg::Int16' : 's',
             'osg::Real32' : 'f',
             'osg::Real64' : 'd',
             'osg::Real128' : 'ld',
           }

   Vec_sizes = [2,3,4]
else:
   Vec_types = { 'osg::Real32' : 'f', }
   Vec_sizes = [3,4]
        

# List of types for Pnt types
if do_full:
   Pnt_types = { 'osg::UInt8' : 'ub',
             'osg::Int8' : 'b',
             'osg::UInt16' : 'us',
             'osg::Int16' : 's',
             'osg::Real32' : 'f',
             'osg::Real64' : 'd',
             'osg::Real128' : 'ld',
           }

   Pnt_sizes = [2,3,4]
else:
   Pnt_types = { 'osg::Real32' : 'f', }
   Pnt_sizes = [3,4]


# Vec storage types
VecStorage_types = { 'osg::UInt8' : 'ub',
          'osg::Int8' : 'b',
          'osg::UInt16' : 'us',
          'osg::Int16' : 's',
          'osg::Real32' : 'f',
          'osg::Real64' : 'd',
          'osg::Real128' : 'ld',
        }
